<%@ taglib uri="http://www.springframework.org/tags" prefix="tags" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>
		<tags:message code="application.title.gerenciarTema" />
	</title>
	<script type="text/javascript">
		function submitTema(){
			alert('Implementar!');
		}
	</script>
</head>
<body>
	<div>
		<form:form action="javascript:submitTema();" autocomplete="true" id="form" name="form" commandName="tema">
			<table>
				<tr>
					<td>
						<label for="nome">
							<tags:message code="application.form.tema.field.nome" />
						</label>
					</td>
					<td><form:input path="nome" id="nome"/></td>
				</tr>
				<tr>
					<td>
						<label for="dataEncerramento">
							<tags:message code="application.form.tema.field.dataEncerramento"/>
						</label>
					</td>
					<td><form:input path="dataEncerramento" id="dataEncerramento"/></td>
					<td>
				</tr>
				<tr>
					<td>&nbsp;</td>	
					<td>
						<form:checkbox path="encerra" id="encerra"/>&nbsp;
						<label for="encerra" >
							<tags:message code="application.form.tema.field.naoEncerra"/>
						</label>
					</td>
				</tr>
				<tr>
					<td>&nbsp;</td>					
					<td>&nbsp;</td>
					<td><img style="cursor:pointer;" title="Confirmar." alt="Confirmar." src="../imagens/btConfirmar.gif" onclick="javascript: document.form.submit();">
				</tr>				
			</table>
		</form:form>
	</div>
</body>
</html>